//
//  TaskEditViewController.h
//  WorkingResult
//
//  Created by 河野 智遵 on 11/08/15.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Task.h"

@interface TaskEditViewController : UIViewController <UITextFieldDelegate> {
    UITextField* nameText_;
    UILabel* colorLabel_;    
}

typedef enum
{
    ADD, UPDATE
} EditMode;

- (void)clear;
- (Task*)getTask;

@property (nonatomic, assign, getter = getTask, setter = setTask:) Task* task;

@property (nonatomic, assign) id doneActionTarget;
@property (nonatomic, assign) SEL doneAction;
@property (nonatomic, assign) EditMode mode;

@end
